export const BASE_URL = 'http://toutiao.itheima.net';
// 获取文章新闻推荐列表
export const NEWS_LIST = '/v1_0/articles';
// 获取用户频道列表
export const CHANNEL_LIST = '/v1_0/user/channels';
// 获取所有频道列表
export const ALL_CHANNEL_LIST = '/v1_0/channels';
// 发送短信验证码
export const SEND_CODE = '/v1_0/sms/codes/';
//用户认证(登录注册)
export const LOGIN_LIST = '/v1_0/authorizations';
// 获取用户个人资料
export const USER_INFO = '/v1_0/user/profile';
// 获取用户自己信息
export const USER = '/v1_0/user';
// 获取搜索结果
export const SEARCH = '/v1_0/search';
// 搜索建议
export const SEARCH_SUGGEST_LIST = '/v1_0/suggestion';
// 获取文章详情 跳转指定的一条新闻
export const ARTICLE_ITEM = '/v1_0/articles/';
// 获取评论列表 评论文章
export const COMMENT_LIST = '/v1_0/comments';
// 关注作者
export const FOLLOW_AUTHOR = '/v1_0/user/followings';
// 取消关注作者
export const CANCEL_FOLLOW_AUTHOR = '/v1_0/user/followings/';
// 收藏文章
export const COLLECT_ARTICLE = '/v1_0/article/collections';
// 取消收藏文章
export const CANCEL_COLLECT_ARTICLE = '/v1_0/article/collections/';
// 对文章点赞
export const LIKE_ARTICLE = '/v1_0/article/likings';
// 取消对文章点赞
export const CONCEL_LIKE_ARTICLE = '/v1_0/article/likings/';
// 对评论或评论回复点赞
export const COMMENT_LIKE = '/v1_0/comment/likings';
// 取消对评论或评论回复点赞
export const CANCEL_COMMENT_LIKE = '/v1_0/comment/likings/';

